package com.generalbackend.role.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.generalbackend.role.model.entity.PermissionRestApi;
import com.generalbackend.role.model.query.PermissionRestApiQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* ClassName: PermissionRestApi
* @Description 接口权限表Mapper
* @author tim.xie
* @date 2021-12-14 13:26
*/

@Mapper
@Repository
public interface PermissionRestApiMapper extends BaseMapper<PermissionRestApi>{

    /**
    * 根据条件查询列表
    * @return
    */
    List<PermissionRestApi> list(Page<PermissionRestApi> page, @Param("queryOption") PermissionRestApiQuery permissionRestApiQuery);


}
